package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.crm.model.entity.Role;

/**
 * 角色dao
 * @author Lenovo
 *
 */
@Repository
public interface RoleDao extends CrudRepository<Role,Long> {

	List<Role> findAllByEnable(boolean b);

}
